package com.fita.entity.agent;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("AgentApplyStatus")
public enum AgentApplyStatus {

	CREATED("待分配"),

	AUTHING("待审核"),

	REJECT("已驳回"),

	FINISHED("合格");

	private String description;

	/**
	 * @param description
	 */
	private AgentApplyStatus(String description) {
		this.description = description;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	public boolean isCreated() {
		return this.equals(CREATED);
	}

	public boolean isAuthing() {
		return this.equals(AUTHING);
	}

	public boolean isReject() {
		return this.equals(REJECT);
	}

	public boolean isFinished() {
		return this.equals(FINISHED);
	}
}
